package com.silas.quartz.base01;

import java.text.SimpleDateFormat;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

public class MyJob implements Job {

	@Override
	public void execute(JobExecutionContext arg0) throws JobExecutionException {
		System.out.println("任务执行中....\t"
				+ new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(System
						.currentTimeMillis()));
	}

}
